package com.hwtx.form.util;


import io.geekidea.boot.framework.exception.BusinessException;

public class Exceptions {

    public static BusinessException DS_ERROR() {
        return new BusinessException(40000, "配置有误");
    }

    public static BusinessException DS_CONFIG_ERROR(String message) {
        return new BusinessException(400001, message);
    }

    public static BusinessException DS_DSL_PARSER_ERROR(String message) {
        return new BusinessException(400002, message);
    }

    public static BusinessException DS_ANNOTATION_CONFIG_ERROR(String message) {
        return new BusinessException(400003, message);
    }
}
